package com.zhongen.oa;

import com.zhongen.common.security.annotation.EnablePigResourceServer;
import com.zhongen.common.swagger.annotation.EnablePigDoc;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

@EnablePigDoc(value = "admin")
@EnablePigResourceServer
@SpringBootApplication(scanBasePackages = "com.zhongen")
@MapperScan("com.zhongen.**.mapper")
public class StartupApplication {

	public static void main(String[] args) {
		SpringApplication.run(StartupApplication.class, args);
	}

}
